
var path = require('path');
var wechat_file = path.join(__dirname,'./config/wechat.txt');

var config = {
    test: false,
    wechat:{

    }
}

if (config.test) {
    config.wechat.appID = ' '
    config.wechat.appSecret = ' '
    config.wechat.notify_url = ' '
    config.wechat.apiCert = ' '
    config.wechat.text = ''
    config.wechat.mch_id = ' '
    config.wechat.dbtest = true
    config.wechat.accessKey =' '
    config.wechat.secretKey = ' '
    config.wechat.scope = ' '

}
else {
    config.wechat.appID = ''//申请的appid
    config.wechat.appSecret = ''//在配置小程序时的密钥
    config.wechat.notify_url = ''//支付成功回调接口
    config.wechat.apiCert = ''
    config.wechat.text = ''//
    config.wechat.mch_id = ''//申请的商户号
    config.wechat.dbtest = false
    config.wechat.accessKey =''
    config.wechat.secretKey = ''
    config.wechat.scope = ''
    config.wechat.qiniuURL = ''

}

module.exports = config;
